-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: remove deprecated pip cache action #19552
Conversation
.github/workflows/benchmark.yml
Outdated
with: | ||
python-version: 3.10.10 | ||
cache: 'pip' | ||
cache-dependency-path: 'requirements*.txt' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Examples always include **/
eg **/requirements*.txt
We probably don't need that?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wondered about that... we're super unlikely to add more requirements files but 🤷
I guess I can check if it affects the running speed and (how much could it after all) it it isn't slower then it helps the future traveller to have the wildcard
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah it depends on how deep the nested folders go since it is a mono repo, but likely it won't affect anything noticeable, your call :D
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah, no noticeable effect on speed so it doesn't hurt 😊
* fix: remove deprecated pip cache action * with wildcard * fix
we use https://github.com/syphar/restore-pip-download-cache which was deprecated 9 months ago
let's switch to its recommendation of the default python action cache
we see the cache used on a second run